﻿using System;
using System.Collections;


/**
 * 作者：陈杰
 * QQ  : 710782046
 * Email:ovenjackchain@gmail.com
 * Web :http://www.qidian10.com
 */ 
namespace Model
{
   public class gy_identity
   {
      #region 构造函数
      public gy_identity()
      {}

      public gy_identity(string tname,string value,int origin_value,int inc_value)
      {
         
		this._tname = tname;
		this._value = value;
		this._origin_value = origin_value;
		this._inc_value = inc_value;

      }
      #endregion

      #region 成员
      
		private string _tname;
		private string _value;
		private int _origin_value;
		private int _inc_value;

      #endregion


      #region 属性
      
		public string tname
		{
			get { return _tname ; }
			set { _tname = value ; }
		}

		public string value
		{
			get { return _value ; }
			set { _value = value ; }
		}

		public int origin_value
		{
			get { return _origin_value ; }
			set { _origin_value = value ; }
		}

		public int inc_value
		{
			get { return _inc_value ; }
			set { _inc_value = value ; }
		}


      #endregion
      
      #region 获得自增键
      private string ReturnAutoID()
      {
          return "TNAME";
      }
      #endregion
   }
}
